 
<%
    int [] view_page    = navigator.view_page;
    int last_page       = navigator.last_page;
    int next_page       = navigator.next_page;
    int prev_page       = navigator.prev_page;
    int curr_page       = navigator.curr_page;
%>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td><img src="../images/blank.gif" width="100%" height="10"></td>
                </tr>
                <tr>
                    <td align="center">
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
<!-- paging.prev -->
<%  if(curr_page > 1) { %>
                                    <a href="javascript:goPage('1')"><img src="../images/btn_list_first.gif" border="0"></a>
<%  } else {    %>
                                    <img src="../images/btn_list_first.gif" border="0">
<%  } %>
                                </td>
                                <td>
<%  if(prev_page!=0) {  %>
                                    <a href="javascript:goPage('<%=prev_page%>')"><img src="../images/btn_list_pre.gif" hspace="6" border="0"></a>
<%  } else { %>
                                    <img src="../images/btn_list_pre.gif" hspace="6" border="0">
<% } %>
                                </td>

<!-- paging -->
<% int idx = 0;
   for(int i=0; i<view_page.length; i++) {
     if(curr_page != view_page[i]) {
%>
                                <td class="brd_go"><a href="javascript:goPage('<%=view_page[i]%>')"><%=view_page[i]%></a>&nbsp;</td>
<%   } else { %>
                                <td class="brd_goOn"><a href="javascript:goPage('<%=view_page[i]%>')"><%=view_page[i]%></a>&nbsp;</td>

<%   } %>
<% }//End of for %>


<!-- paging.next -->
                                <td>
<% if(next_page!=0) { %>
                                    <a href="javascript:goPage('<%=next_page%>')"><img src="../images/btn_list_next.gif" hspace="6" border="0"></a>
<% } else { %>
                                    <img src="../images/btn_list_next.gif" hspace="6" border="0">
<% } %>
                                </td>
                                <td>
<% if(last_page > 1) { %>
                                    <a href="javascript:goPage('<%=last_page%>')"><img src="../images/btn_list_last.gif" border="0"></a>
<% } else { %>
                                    <img src="../images/btn_list_last.gif" border="0">
<% } %>
                                </td>
                            </tr>
                        </table></td>
                </tr>
            </table>